package b3.config
{
	public class TaskConfig extends BasicConfig
	{
		//任务号
		//协助好友
		public static const ID_ASSIST_FRIEND:int = 1;
		//拜访好友
		public static const ID_VISIT_FRIEND:int = 3;
		//占领建筑
		public static const ID_OCCUPY_BUILDING:int = 10;
		//占领城市
		public static const ID_OCCUPY_TOWN:int = 11;
		//参加比赛
		public static const ID_ATTEND_MATCH:int = 12;
		//参加吉尼斯
		public static const ID_ATTEND_GUINNESS:int = 14;
		
		//任务类型
		//无
		public static const TYPE_OTHER:int = 0;
		//物品个数
		public static const TYPE_OBJECT_NUM:int = 1;
		//建筑个数
		public static const TYPE_BUILDING_NUM:int = 2;
		
		//唯一标识
		public var taskId:int;
		//排序
		public var sortIndex:int;
		//任务
		public var name:String;
		//任务序号
		public var index:int;
		//类型	达到人口   0
		public var type:int;
		//图标
		public var iconImage:String;
		//说明
		public var description:String;
		//提示信息
		public var message:String;
		
		public var congratulations:Array;
		//要求索引
		public var requireIndex:int;
		//要求的数目
		public var requireNum:int;
		
		public var nextTaskId:int;
		
		public function TaskConfig(configXML:XML=null)
		{
			super(configXML);
		}
		
	}
}